package edu.java.lectures.lec09.exceptions.creation;

public class MyException extends Exception {

    long timeOfRising;

    public MyException() {
	super();
	timeOfRising = System.currentTimeMillis();
    }

    public MyException(String msg) {
	super(msg);
	timeOfRising = System.currentTimeMillis();
    }
}
